package avicit.bdp.dds.plugin.api;

import avicit.bdp.dds.plugin.model.AlertInfo;
import avicit.bdp.dds.plugin.model.PluginName;

import java.util.Map;

/**
 * Plugin
 */
public interface AlertPlugin {

    /**
     * Get alert plugin id
     *
     * @return alert plugin id, which should be unique
     */
    String getId();

    /**
     * Get alert plugin name, which will show in front end portal
     *
     * @return plugin name
     */
    PluginName getName();

    Map<String, Object> process(AlertInfo info);

}
